﻿<a href='@Url.Action("ProfileView", "Profile", new { id = ViewBag.UserId })' class="nobtn">
    @ViewBag.UserFullname
</a>
likes your
@if (ViewBag.BaseSubjectType == "user")
{
    <a href='@Url.Action("ProfileView", "Profile", new { id = ViewBag.PostOwnerId, postId = ViewBag.PostId })' class="nobtn">
        post
    </a>
}
else if (ViewBag.BaseSubjectType == "group")
{
    <a href='@Url.Action("GroupDetails", "Group", new { id = ViewBag.PostOwnerId, postId = ViewBag.PostId })' class="nobtn">
        post
    </a>
}
else if (ViewBag.BaseSubjectType == "page")
{
    <a href='@Url.Action("PageDetails", "Page", new { id = ViewBag.PostOwnerId, postId = ViewBag.PostId })' class="nobtn">
        post
    </a>
}
else if (ViewBag.BaseSubjectType == "event")
{
    <a href='@Url.Action("EventDetails", "Event", new { id = ViewBag.PostOwnerId, postId = ViewBag.PostId })' class="nobtn">
        post
    </a>
}